package Factory;

import DAO.*;
import DAO.Impl.*;

import java.sql.Connection;

public class DAOFactory {
    public static beginnerDAO getBeginnerInstance(Connection conn){
        return new beginnerDAOImpl(conn);
    }
    public static getDataDAO getDataInstance(Connection conn) {
        return new getDataDAOImpl(conn);
    }
    public static SaveDataDAO SaveDataInstance(Connection conn){return new SaveDataDAOImpl(conn);}
    public static PasswordDAO UserPwdInstance(Connection conn) {
        return new PasswordDAOImpl(conn);
    }
    public static UserInfoDAO UserInfoInstance(Connection conn) {
        return new UserInfoDAOImpl(conn);
    }
    public static GroupDAO GroupInstance(Connection conn){return new GroupDAOImpl(conn);}
}
